<!DOCTYPE html>
{#引用了main.htmk的参数#}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新闻链接界面</title>
</head>
<body>
<div id="mainnews_div" style="border: 1px">
<h1>新闻链接</h1>
<ol>
{% for dict in newlist.values %}
    <li>
        <a href="main/{{ dict.id }}">
        {{ dict.title }}
        </a>
    </li>
{% endfor %}
</ol>
</div>
</body>
</html>